package com.hualan.bean;


import com.alibaba.fastjson.annotation.JSONField;

import java.beans.Transient;
import java.util.Date;


public class PanghuCommunity {
    /**
     * 小区id
     */
    private Integer communityId;

    /**
     * 小区名字
     */
    private String communityName;

    /**
     * 小区地址
     */
    private String communityAddress;

    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss") //fastjson转换时可以将日期数据转化为对应的格式
    private Date createTime;

    /**
     * 小区省份
     */
    private String communityProvince;

    /**
     * 小区城市
     */
    private String communityCity;

    /**
     * 小区所属区
     */
    private String communityDistrict;

    /**
     * 小区所属的区域id
     */
    private Integer communityAreaCode;

    /**
     * 小区纬度
     */
    private String communityLatitude;

    /**
     * 小区经度
     */
    private String communityLongitude;

    /**
     * 小区状态  1 正常， 0 删除
     */
    private Integer communityStatus;

    /**
     * 小区坐标名字
     */
    private String communityCoordinates;


    /**
     * 距离
     */
    private Integer distance;

    /**
     * 小区用户数
     */
    private Integer communityUserCount;

    /**
     * 小区店铺数
     */
    private Integer communityShopCount;

    /**
     * 新增或修改标志  1 添加， 2 修改
     */
    private Integer addOrUpdateFlag;

    /*
     * 小区空构造函数
     * */
    public PanghuCommunity() {
    }
/*
* 小区完整构造函数
* */
    public PanghuCommunity(Integer communityId, String communityName, String communityAddress, Date createTime, String communityProvince, String communityCity, String communityDistrict, Integer communityAreaCode, String communityLatitude, String communityLongitude, Integer communityStatus, String communityCoordinates, Integer distance, Integer communityUserCount, Integer communityShopCount) {
        this.communityId = communityId;
        this.communityName = communityName;
        this.communityAddress = communityAddress;
        this.createTime = createTime;
        this.communityProvince = communityProvince;
        this.communityCity = communityCity;
        this.communityDistrict = communityDistrict;
        this.communityAreaCode = communityAreaCode;
        this.communityLatitude = communityLatitude;
        this.communityLongitude = communityLongitude;
        this.communityStatus = communityStatus;
        this.communityCoordinates = communityCoordinates;
        this.distance = distance;
        this.communityUserCount = communityUserCount;
        this.communityShopCount = communityShopCount;

    }

    /**
     * 获取小区id
     *
     * @return community_id - 小区id
     */
    public Integer getCommunityId() {
        return communityId;
    }

    /**
     * 设置小区id
     *
     * @param communityId 小区id
     */
    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    /**
     * 获取小区名字
     *
     * @return community_name - 小区名字
     */
    public String getCommunityName() {
        return communityName;
    }

    /**
     * 设置小区名字
     *
     * @param communityName 小区名字
     */
    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    /**
     * 获取小区地址
     *
     * @return community_address - 小区地址
     */
    public String getCommunityAddress() {
        return communityAddress;
    }

    /**
     * 设置小区地址
     *
     * @param communityAddress 小区地址
     */
    public void setCommunityAddress(String communityAddress) {
        this.communityAddress = communityAddress;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取小区省份
     *
     * @return community_province - 小区省份
     */
    public String getCommunityProvince() {
        return communityProvince;
    }

    /**
     * 设置小区省份
     *
     * @param communityProvince 小区省份
     */
    public void setCommunityProvince(String communityProvince) {
        this.communityProvince = communityProvince;
    }

    /**
     * 获取小区城市
     *
     * @return community_city - 小区城市
     */
    public String getCommunityCity() {
        return communityCity;
    }

    /**
     * 设置小区城市
     *
     * @param communityCity 小区城市
     */
    public void setCommunityCity(String communityCity) {
        this.communityCity = communityCity;
    }

    /**
     * 获取小区所属区
     *
     * @return community_district - 小区所属区
     */
    public String getCommunityDistrict() {
        return communityDistrict;
    }

    /**
     * 设置小区所属区
     *
     * @param communityDistrict 小区所属区
     */
    public void setCommunityDistrict(String communityDistrict) {
        this.communityDistrict = communityDistrict;
    }

    /**
     * 获取小区所属的区域id
     *
     * @return community_area_code - 小区所属的区域id
     */
    public Integer getCommunityAreaCode() {
        return communityAreaCode;
    }

    /**
     * 设置小区所属的区域id
     *
     * @param communityAreaCode 小区所属的区域id
     */
    public void setCommunityAreaCode(Integer communityAreaCode) {
        this.communityAreaCode = communityAreaCode;
    }

    /**
     * 获取小区纬度
     *
     * @return community_latitude - 小区纬度
     */
    public String getCommunityLatitude() {
        return communityLatitude;
    }

    /**
     * 设置小区纬度
     *
     * @param communityLatitude 小区纬度
     */
    public void setCommunityLatitude(String communityLatitude) {
        this.communityLatitude = communityLatitude;
    }

    /**
     * 获取小区经度
     *
     * @return community_longitude - 小区经度
     */
    public String getCommunityLongitude() {
        return communityLongitude;
    }

    /**
     * 设置小区经度
     *
     * @param communityLongitude 小区经度
     */
    public void setCommunityLongitude(String communityLongitude) {
        this.communityLongitude = communityLongitude;
    }

    /**
     * 获取小区状态  1 正常， 0 删除
     *
     * @return community_status - 小区状态  1 正常， 0 删除
     */
    public Integer getCommunityStatus() {
        return communityStatus;
    }

    /**
     * 设置小区状态  1 正常， 0 删除
     *
     * @param communityStatus 小区状态  1 正常， 0 删除
     */
    public void setCommunityStatus(Integer communityStatus) {
        this.communityStatus = communityStatus;
    }

    /**
     * 获取小区坐标名字
     *
     * @return community_coordinates - 小区坐标名字
     */
    public String getCommunityCoordinates() {
        return communityCoordinates;
    }

    /**
     * 设置小区坐标名字
     *
     * @param communityCoordinates 小区坐标名字
     */
    public void setCommunityCoordinates(String communityCoordinates) {
        this.communityCoordinates = communityCoordinates;
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public Integer getAddOrUpdateFlag() {
        return addOrUpdateFlag;
    }

    public void setAddOrUpdateFlag(Integer addOrUpdateFlag) {
        this.addOrUpdateFlag = addOrUpdateFlag;
    }

    public Integer getCommunityUserCount() {
        return communityUserCount;
    }

    public void setCommunityUserCount(Integer communityUserCount) {
        this.communityUserCount = communityUserCount;
    }

    public Integer getCommunityShopCount() {
        return communityShopCount;
    }

    public void setCommunityShopCount(Integer communityShopCount) {
        this.communityShopCount = communityShopCount;
    }
}